//
//  JwSkinDeallocExer.m
//  JwPack
//
//  Created by 陈警卫 on 2023/1/12.
//

#import "JwSkinDeallocExer.h"

@implementation JwSkinDeallocExer

- (void)dealloc {
    if (self.jw_didSkinDeallocExerBlock) {
        self.jw_didSkinDeallocExerBlock();
        self.jw_didSkinDeallocExerBlock = nil;
    }
}

+ (instancetype)jw_skinDeallocExerBlock:(void(^)(void))block {
    JwSkinDeallocExer *exer = [[JwSkinDeallocExer alloc] init];
    exer.jw_didSkinDeallocExerBlock = block;
    return exer;
}

@end
